import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 导入ele-ui组件库
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)
// 引入样式
import './assets/common.css'
// 引入字体css
import './assets/fonts/iconfont.css'
// 引入面包屑导航
import bread from '../src/components/Bread.vue'
/* Vue.component('组件名’,组件文件模板) */
Vue.component('Bread', bread)

// /* 表格树形组件 */
 import ZkTable from "vue-table-with-tree-grid";
Vue.component("zkTable", ZkTable);

// 转换事件格式
import moment from 'moment'
Vue.filter('moment', function (value, formatString) {
	formatString = formatString || 'YYYY-MM-DD HH:mm:ss';
return moment(value).format(formatString);
});

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

